/***********************************************************************
 * Module:  Clan.cs
 * Author:  hoe
 * Purpose: Definition of the Class Clan
 ***********************************************************************/

using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
namespace Site.Models
{
    public class Clan
    {
        public Member[] Association5;
        public Statistic Association7;

        private int ClanId;
        private int ClanLeader;
        private string ClanName;
        private string ClanDescription;
        private string ClanForumLink;
        private int ClanStatistic;
        private string ClanAvatar;
        private DateTime ClanCreationDate;
        private DateTime ClanDeleteDate;

    }

    public class ClanCreateModel
    {
        public Guid ClanId { get; set; }

        [Required]
        [Display(Name = "Nom du clan")]
        public string ClanName { get; set; }

        [Required]
        [Display(Name = "Description")]
        public string ClanDescription { get; set; }

        [DataType(DataType.Url)]
        [Display(Name = "Lien du forum")]
        public string ClanForumLink { get; set; }

        [DataType(DataType.ImageUrl)]
        [Display(Name = "Logo")]
        public string ClanLogo { get; set; }
    }

    public class ClanDetail { 
        public CLAN clan { get; set; }
        public List<STATISTIC> stats { get; set; }
        public List<UserClan> users { get; set; }
        public List<aspnet_Roles> roles {get; set;}
        public int userRole { get; set; }
    }
}